#ifndef __DXSKELETON_MODEL_H_
#define __DXSKELETON_MODEL_H_

#include "Windows.h"
#include "d3dx9.h"

class Model 
{
public:
	HRESULT Init();
	void Cleanup();
	HRESULT Draw();
	void SetPosition(D3DXVECTOR3 *pos);
	void GetPosition(D3DXVECTOR3 *pos);
	void GetWorldMatrix(D3DXMATRIX *mat);

	void MoveX(float d);
	void MoveY(float d);
	void MoveZ(float d);
	void RotateX(float a);
	void RotateY(float a);
	void RotateZ(float a);
	void SetRotation(D3DXVECTOR3* r);

private:
	ID3DXMesh* mesh;
	unsigned long numMaterials;
	D3DMATERIAL9 *materials;
	LPDIRECT3DTEXTURE9 *textures;
	D3DXVECTOR3 pos;
	float rotationX;
	float rotationY;
	float rotationZ;

};


#endif //#ifndef __DXSKELETON_GLOBALS_H_